//设置默认值
const initState = false 
//更改 播放状态
export default function (state = initState, action) {
    let { type, payload } = action;
    switch (type) {
        case 'PLAYRORPAUSE':
            return payload
        default:
            return state
    }
}